<?php
/**
 * 错误提示
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/2/26
 * Time: 11:34
 */

namespace app\admin\controller;


use app\common\controller\AdminBase;

class Error extends AdminBase
{
    /**
     * 默认入口
     * @return mixed
     */
    public function index()
    {
        return $this->fetch('error/index');
    }

    /**
     * 无权限提示
     * @return mixed
     */
    public function forbidden()
    {
        return $this->fetch('error/forbidden');
    }
}